package pp.gateway.adapter.user.vo;

import lombok.Data;
import pp.gateway.application.user.login.param.UserRegisterParam;

@Data
public class UserRegisterVO {
    private String name;     // 用户名
    private String account;  // 账号
    private String pwd;      // 密码
    private String telephone;// 电话号码

    public UserRegisterParam toParam() {
        UserRegisterParam out = new UserRegisterParam();
        out.setName(this.name);
        out.setAccount(this.account);
        out.setPwd(this.pwd);
        out.setTelephone(this.telephone);
        return out;
    }
}
